Skip to content

Conversation

prateekbisht23
Copy link

What’s Changed

  • Added a new Comments section to the CSS-in-JavaScript Style Guide
  • Documented guidance on:
    • Allowing inline comments
    • Moving comments above lines when clearer
    • Handling long inline comments ( >100 chars )
    • Examples with // bad and // good patterns
    • Recommendation to refactor if excessive comments are needed

Why

Inline comments weren’t explicitly covered in the style guide.
This addition clarifies acceptable patterns and improves consistency with existing formatting.


fixes: #1506

@prateekbisht23
Copy link
Author

@ljharb can you review the PR!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarification for Inline Comments
1 participant